 // 单击我的淘宝
 $("#my-TaoBao").click(function(){
 	$("#my-TaoBao").toggleClass("my-taobao-click");
 	$("#my-TaoBao-list").slideToggle();
 	$("#triangle-arrows2").toggleClass("triangle-arrows-rotate");
 	event.stopPropagation();//不让他上传倒父类
 });
 //点击屏幕任意部位和元素时候 隐藏我的淘宝
 document.addEventListener("click",function(){
 	$("#my-TaoBao").removeClass("my-taobao-click");
 	$("#my-TaoBao-list").slideUp();
 	$("#triangle-arrows2").removeClass("triangle-arrows-rotate");
 },false);

// 我的购物车鼠标移动事件 进入与 离开
$("#shopping").mouseenter(function(){
	$("#my-shopping-list").slideDown();
});
$("#shopping").mouseleave(function(){
	$("#my-shopping-list").slideUp();
});

//收藏夹 鼠标移动离开事件
$("#collect").mouseenter(function(){
	$("#collect-list").slideDown();
});
$("#collect").mouseleave(function(){
	$("#collect-list").slideUp();
});	

//卖家中心
$("#seller").mouseenter(function(){
	$(".seller-list").slideDown();
});
$("#seller").mouseleave(function(){
	$(".seller-list").slideUp();
});

//联系客服
$(".service").mouseenter(function(){
	$(".service-list").slideDown();
});
$(".service").mouseleave(function(){
	$(".service-list").slideUp();
});
https://login.taobao.com/member/login.jhtml?f=top&redirectURL=http%3A%2F%2Fwww.taobao.com%2F
// 网站导航
$("#navigation").mouseenter(function(){
	$("#navigation-list").slideDown();
});
$("#navigation").mouseleave(function(){
	$("#navigation-list").slideUp();
});

// 搜索框上面的宝贝,天猫,店铺的切换
//商品宝贝
$("#search-commodity").click(function(){
	// 给自己添加颜色 class
	$("#search-commodity").addClass("header-search-center-right-top-font-style");
	//同时判断店铺与天猫是否被选中如果是 清除效果
	if($("#search-tianmao").hasClass("header-search-center-right-top-font-style") || $("#search-store").hasClass("header-search-center-right-top-font-style")){
		$("#search-store").removeClass("header-search-center-right-top-font-style");
		$("#search-tianmao").removeClass("header-search-center-right-top-font-style");
	}
});
// 天猫
$("#search-tianmao").click(function(){
	// 给自己添加颜色 class
	$("#search-tianmao").addClass("header-search-center-right-top-font-style");
	//同时判断店铺与天猫是否被选中如果是 清除效果
	if($("#search-commodity").hasClass("header-search-center-right-top-font-style") || $("#search-store").hasClass("header-search-center-right-top-font-style")){
		$("#search-store").removeClass("header-search-center-right-top-font-style");
		$("#search-commodity").removeClass("header-search-center-right-top-font-style");
	}
});
//店铺
$("#search-store").click(function(){
	// 给自己添加颜色 class
	$("#search-store").addClass("header-search-center-right-top-font-style");
	//同时判断店铺与天猫是否被选中如果是 清除效果
	if($("#search-tianmao").hasClass("header-search-center-right-top-font-style") || $("#search-commodity").hasClass("header-search-center-right-top-font-style")){
		$("#search-commodity").removeClass("header-search-center-right-top-font-style");
		$("#search-tianmao").removeClass("header-search-center-right-top-font-style");
	}
});

//左边栏第一个
$("#show-1").mouseenter(function(){
	$("#more-show-1").fadeIn();
	// $(".body-top-left-list-content-more-show").animate({width:'692px'});
});
$("#show-1").mouseleave(function(){
	$("#more-show-1").fadeOut();
	// $(".body-top-left-list-content-more-show").animate({width:'0'});
});

$("#show-2").mouseenter(function(){
	$("#more-show-2").fadeIn();
	// $("#more-show-1").fadeIn();
});
$("#show-2").mouseleave(function(){
	$("#more-show-2").fadeOut();
	// $("#more-show-1").fadeOut();
});
$("#show-3").mouseenter(function(){
	$("#more-show-3").fadeIn();
});
$("#show-3").mouseleave(function(){
	$("#more-show-3").fadeOut();
});
$("#show-4").mouseenter(function(){
	$("#more-show-4").fadeIn();
});
$("#show-4").mouseleave(function(){
	$("#more-show-4").fadeOut();
});
$("#show-5").mouseenter(function(){
	$("#more-show-5").fadeIn();
});
$("#show-5").mouseleave(function(){
	$("#more-show-5").fadeOut();
});
$("#show-6").mouseenter(function(){
	$("#more-show-6").fadeIn();
});
$("#show-6").mouseleave(function(){
	$("#more-show-6").fadeOut();
});
$("#show-7").mouseenter(function(){
	$("#more-show-7").fadeIn();
});
$("#show-7").mouseleave(function(){
	$("#more-show-7").fadeOut();
});
$("#show-8").mouseenter(function(){
	$("#more-show-8").fadeIn();
});
$("#show-8").mouseleave(function(){
	$("#more-show-8").fadeOut();
});
$("#show-9").mouseenter(function(){
	$("#more-show-9").fadeIn();
});
$("#show-9").mouseleave(function(){
	$("#more-show-9").fadeOut();
});
$("#show-10").mouseenter(function(){
	$("#more-show-10").fadeIn();
});
$("#show-10").mouseleave(function(){
	$("#more-show-10").fadeOut();
});
$("#show-11").mouseenter(function(){
	$("#more-show-11").fadeIn();
});
$("#show-11").mouseleave(function(){
	$("#more-show-11").fadeOut();
});
$("#show-12").mouseenter(function(){
	$("#more-show-12").fadeIn();
});
$("#show-12").mouseleave(function(){
	$("#more-show-12").fadeOut();
});
$("#show-13").mouseenter(function(){
	$("#more-show-13").fadeIn();
});
$("#show-13").mouseleave(function(){
	$("#more-show-13").fadeOut();
});
$("#show-14").mouseenter(function(){
	$("#more-show-14").fadeIn();
});
$("#show-14").mouseleave(function(){
	$("#more-show-14").fadeOut();
});
$("#show-15").mouseenter(function(){
	$("#more-show-15").fadeIn();
});
$("#show-15").mouseleave(function(){
	$("#more-show-15").fadeOut();
});
$("#show-16").mouseenter(function(){
	$("#more-show-16").fadeIn();
});
$("#show-16").mouseleave(function(){
	$("#more-show-16").fadeOut();
});

// 轮播图
// 轮播图箭头淡入淡出
$(".slide-show-top").mouseenter(function(){
	$("#slide-show-top-left-arrow").fadeIn();
	$("#slide-show-top-right-arrow").fadeIn();
});
$(".slide-show-top").mouseleave(function(){
	$("#slide-show-top-left-arrow").fadeOut();
	$("#slide-show-top-right-arrow").fadeOut();
});
// 单击大轮播图的圆圈切换小圆圈的背景 以及图片
$("#circle-index-1").click(function(){
	$("#slide-show-list").animate({"left":"0"});
	$("#circle-index-1").addClass("circle-select");
	$("#circle-index-2").removeClass("circle-select");
	$("#circle-index-3").removeClass("circle-select");
	$("#circle-index-4").removeClass("circle-select");
	$("#circle-index-5").removeClass("circle-select");
});
$("#circle-index-2").click(function(){
	$("#slide-show-list").animate({"left":"-520px"});
	$("#circle-index-1").removeClass("circle-select");
	$("#circle-index-2").addClass("circle-select");
	$("#circle-index-3").removeClass("circle-select");
	$("#circle-index-4").removeClass("circle-select");
	$("#circle-index-5").removeClass("circle-select");
});
$("#circle-index-3").click(function(){
	$("#slide-show-list").animate({"left":"-520"*2});
	$("#circle-index-1").removeClass("circle-select");
	$("#circle-index-2").removeClass("circle-select");
	$("#circle-index-3").addClass("circle-select");
	$("#circle-index-4").removeClass("circle-select");
	$("#circle-index-5").removeClass("circle-select");
});
$("#circle-index-4").click(function(){
	$("#slide-show-list").animate({"left":"-520"*3});
	$("#circle-index-1").removeClass("circle-select");
	$("#circle-index-2").removeClass("circle-select");
	$("#circle-index-3").removeClass("circle-select");
	$("#circle-index-4").addClass("circle-select");
	$("#circle-index-5").removeClass("circle-select");
});
$("#circle-index-5").click(function(){
	$("#slide-show-list").animate({"left":"-520"*4});
	$("#circle-index-1").removeClass("circle-select");
	$("#circle-index-2").removeClass("circle-select");
	$("#circle-index-3").removeClass("circle-select");
	$("#circle-index-4").removeClass("circle-select");
	$("#circle-index-5").addClass("circle-select");
});
//累计显示的位置
var iNow=0;
// 右箭头
$("#slide-show-top-right-arrow").click(function(){
	switch(iNow){
		case 0:
		iNow++;
		$("#slide-show-list").animate({"left":"-520"*iNow});
		$("#circle-index-1").removeClass("circle-select");
		$("#circle-index-2").addClass("circle-select");
		$("#circle-index-3").removeClass("circle-select");
		$("#circle-index-4").removeClass("circle-select");
		$("#circle-index-5").removeClass("circle-select");
		break;
		case 1:
		iNow++;
		$("#slide-show-list").animate({"left":"-520"*iNow});
		$("#circle-index-1").removeClass("circle-select");
		$("#circle-index-2").removeClass("circle-select");
		$("#circle-index-3").addClass("circle-select");
		$("#circle-index-4").removeClass("circle-select");
		$("#circle-index-5").removeClass("circle-select");
		break;
		case 2:
		iNow++;
		$("#slide-show-list").animate({"left":"-520"*iNow});
		$("#circle-index-1").removeClass("circle-select");
		$("#circle-index-2").removeClass("circle-select");
		$("#circle-index-3").removeClass("circle-select");
		$("#circle-index-4").addClass("circle-select");
		$("#circle-index-5").removeClass("circle-select");
		break;
		case 3:
		iNow++;
		$("#slide-show-list").animate({"left":"-520"*iNow});
		$("#circle-index-1").removeClass("circle-select");
		$("#circle-index-2").removeClass("circle-select");
		$("#circle-index-3").removeClass("circle-select");
		$("#circle-index-4").removeClass("circle-select");
		$("#circle-index-5").addClass("circle-select");
		break;
		case 4:
		iNow=0;
		$("#slide-show-list").animate({"left":"-520"*iNow});
		$("#circle-index-1").addClass("circle-select");
		$("#circle-index-2").removeClass("circle-select");
		$("#circle-index-3").removeClass("circle-select");
		$("#circle-index-4").removeClass("circle-select");
		$("#circle-index-5").removeClass("circle-select");
		break;
	}
});
// 左箭头
$("#slide-show-top-left-arrow").click(function(){
	switch(iNow){
		case 0:
		iNow=4;
		$("#slide-show-list").animate({"left":"-520"*iNow});
		$("#circle-index-1").removeClass("circle-select");
		$("#circle-index-2").removeClass("circle-select");
		$("#circle-index-3").removeClass("circle-select");
		$("#circle-index-4").removeClass("circle-select");
		$("#circle-index-5").addClass("circle-select");
		break;
		case 1:
		iNow--;
		$("#slide-show-list").animate({"left":"-520"*iNow});
		$("#circle-index-1").addClass("circle-select");
		$("#circle-index-2").removeClass("circle-select");
		$("#circle-index-3").removeClass("circle-select");
		$("#circle-index-4").removeClass("circle-select");
		$("#circle-index-5").removeClass("circle-select");
		break;
		case 2:
		iNow--;
		$("#slide-show-list").animate({"left":"-520"*iNow});
		$("#circle-index-1").removeClass("circle-select");
		$("#circle-index-2").addClass("circle-select");
		$("#circle-index-3").removeClass("circle-select");
		$("#circle-index-4").removeClass("circle-select");
		$("#circle-index-5").removeClass("circle-select");
		break;
		case 3:
		iNow--;
		$("#slide-show-list").animate({"left":"-520"*iNow});
		$("#circle-index-1").removeClass("circle-select");
		$("#circle-index-2").removeClass("circle-select");
		$("#circle-index-3").addClass("circle-select");
		$("#circle-index-4").removeClass("circle-select");
		$("#circle-index-5").removeClass("circle-select");
		break;
		case 4:
		iNow--;
		$("#slide-show-list").animate({"left":"-520"*iNow});
		$("#circle-index-1").removeClass("circle-select");
		$("#circle-index-2").removeClass("circle-select");
		$("#circle-index-3").removeClass("circle-select");
		$("#circle-index-4").addClass("circle-select");
		$("#circle-index-5").removeClass("circle-select");
		break;
	}
});
// 创建定时器 间隔
var showtime = setInterval(my, 2000);
function my(){
	iNow++;//不断累加
	if (iNow>=5) {
		iNow=0;
	}
	// 循环轮播图片
	$("#slide-show-list").animate({"left":"-520"*iNow});
	//对轮播图的定位 圈添加橘色背景
	switch(iNow){
		case 0:
		$("#circle-index-1").addClass("circle-select");
		$("#circle-index-2").removeClass("circle-select");
		$("#circle-index-3").removeClass("circle-select");
		$("#circle-index-4").removeClass("circle-select");
		$("#circle-index-5").removeClass("circle-select");
		break;
		case 1:
		$("#circle-index-1").removeClass("circle-select");
		$("#circle-index-2").addClass("circle-select");
		$("#circle-index-3").removeClass("circle-select");
		$("#circle-index-4").removeClass("circle-select");
		$("#circle-index-5").removeClass("circle-select");
		break;
		case 2:
		$("#circle-index-1").removeClass("circle-select");
		$("#circle-index-2").removeClass("circle-select");
		$("#circle-index-3").addClass("circle-select");
		$("#circle-index-4").removeClass("circle-select");
		$("#circle-index-5").removeClass("circle-select");
		break;
		case 3:
		$("#circle-index-1").removeClass("circle-select");
		$("#circle-index-2").removeClass("circle-select");
		$("#circle-index-3").removeClass("circle-select");
		$("#circle-index-4").addClass("circle-select");
		$("#circle-index-5").removeClass("circle-select");
		break;
		case 4:
		$("#circle-index-1").removeClass("circle-select");
		$("#circle-index-2").removeClass("circle-select");
		$("#circle-index-3").removeClass("circle-select");
		$("#circle-index-4").removeClass("circle-select");
		$("#circle-index-5").addClass("circle-select");
		break;
	}
}
// 当鼠标进入轮播图时停止滚动播放,移出开启轮播
$(".slide-show-top").mouseenter(function(){
	console.log("关闭定时器");
	clearInterval(showtime);//关闭定时器
});
$(".slide-show-top").mouseleave(function(){
	console.log("开启定时器");
	showtime = setInterval(my, 2000);
});

// 下面的轮播图
// 轮播图箭头淡入淡出
$(".slide-show-down").mouseenter(function(){
	$("#slide-show-down-left-arrow").fadeIn();
	$("#slide-show-down-right-arrow").fadeIn();
});


$(".slide-show-down").mouseleave(function(){
	$("#slide-show-down-left-arrow").fadeOut();
	$("#slide-show-down-right-arrow").fadeOut();
});
// 轮播图的定位图标被单击 图片也移动
$("#select-slide-show-down-progress-index-1").click(function(){
	$("#slide-show-down-list").animate({"left":"-0px"});
	$("#slide-show-down-index").text("1");
	$("#select-slide-show-down-progress-index-1").addClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
});
$("#select-slide-show-down-progress-index-2").click(function(){
	$("#slide-show-down-list").animate({"left":"-500"*1});
	$("#slide-show-down-index").html("2");
	$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-2").addClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
});
$("#select-slide-show-down-progress-index-3").click(function(){
	$("#slide-show-down-list").animate({"left":"-500"*2});
	$("#slide-show-down-index").html("3");
	$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-3").addClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
});
$("#select-slide-show-down-progress-index-4").click(function(){
	$("#slide-show-down-list").animate({"left":"-500"*3});
	$("#slide-show-down-index").html("4");
	$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-4").addClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
});
$("#select-slide-show-down-progress-index-5").click(function(){
	$("#slide-show-down-list").animate({"left":"-500"*4});
	$("#slide-show-down-index").html("5");
	$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-5").addClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
});
$("#select-slide-show-down-progress-index-6").click(function(){
	$("#slide-show-down-list").animate({"left":"-500"*5});
	$("#slide-show-down-index").html("6");
	$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
	$("#select-slide-show-down-progress-index-6").addClass("select-slide-show-down-progress-ok");
});
//累计小的轮播图位置
var iNow2=0;
//右arrow
$("#slide-show-down-right-arrow").click(function(){
	if (iNow2<5) {
		iNow2++;
	}else{
		iNow2=0;
	}
	$("#slide-show-down-list").animate({"left":"-500"*iNow2});
	$("#slide-show-down-index").text(iNow2+1);
	switch(iNow2){
		case 0:
		$("#select-slide-show-down-progress-index-1").addClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
		break;
		case 1:
		$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").addClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
		break;
		case 2:
		$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").addClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
		break;
		case 3:
		$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").addClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
		break;
		case 4:
		$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").addClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
		break;
		case 5:
		$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").addClass("select-slide-show-down-progress-ok");
		break;
	}
});
//左arrow
$("#slide-show-down-left-arrow").click(function(){
	if (iNow2==0) {
		iNow2=5;	
	}else{
		iNow2--;
	}
	$("#slide-show-down-list").animate({"left":"-500"*iNow2});
	$("#slide-show-down-index").text(iNow2+1);
	switch(iNow2){
		case 0:
		$("#select-slide-show-down-progress-index-1").addClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
		break;
		case 1:
		$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").addClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
		break;
		case 2:
		$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").addClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
		break;
		case 3:
		$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").addClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
		break;
		case 4:
		$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").addClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
		break;
		case 5:
		$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").addClass("select-slide-show-down-progress-ok");
		break;
	}
});
// 轮播图 down的定时器
var showtime2 = setInterval(my2, 3000);
function my2(){
	iNow2++;
	if (iNow2>5) {
		iNow2=0;
	}
	$("#slide-show-down-list").animate({"left":"-500"*iNow2});
	$("#slide-show-down-index").text(iNow2+1);
	switch(iNow2){
		case 0:
		$("#select-slide-show-down-progress-index-1").addClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
		break;
		case 1:
		$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").addClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
		break;
		case 2:
		$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").addClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
		break;
		case 3:
		$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").addClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
		break;
		case 4:
		$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").addClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").removeClass("select-slide-show-down-progress-ok");
		break;
		case 5:
		$("#select-slide-show-down-progress-index-1").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-2").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-3").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-4").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-5").removeClass("select-slide-show-down-progress-ok");
		$("#select-slide-show-down-progress-index-6").addClass("select-slide-show-down-progress-ok");
		break;
	}
}
// 当鼠标进入轮播图时停止滚动播放,移出开启轮播
$(".slide-show-down").mouseenter(function(){
	console.log("关闭定时器");
	clearInterval(showtime2);//关闭定时器
});
$(".slide-show-down").mouseleave(function(){
	console.log("开启定时器");
	showtime2 = setInterval(my2, 3000);
});
// 淘宝头条
var showtime3=setInterval(my3,4000);
var iNow3=0;
function my3(){
	iNow3++;
	if (iNow3>=3) {
		iNow3=0;
	}
	$("#taobao-title-list").animate({"top":"-100"*iNow3});
}
$("#taobao-title-list").mouseenter(function(){
	clearInterval(showtime3);
});
$("#taobao-title-list").mouseleave(function(event) {
	/* Act on the event */
	showtime3=setInterval(my3, 4000);
});
// 淘宝抢购时间倒计时
var hour=00,min=0,sec=0;
hour=$("#taobao-rushshop-hour").text();
min=$("#taobao-rushshop-minute").text();	
sec=$("#taobao-rushshop-second").text();
var showtime4 = setInterval(my4, 100);
function my4(){
	// 如果时分秒都为0则关闭定时器
	if (hour==0 && min==0 && sec==0) {	
		clearInterval(showtime4);//关闭定时器
	}else{
		// 小时计时
		if (hour>0) {
			if (sec==0 && min==0) {
				hour--;
				$("#taobao-rushshop-hour").text(hour);
			}
		}
		// 分钟计时
		if (sec==0 || sec <0) {
			if (min==0 || min<0) {
				min=59;
			}else{
				min--;	
			}
			$("#taobao-rushshop-minute").text(min);	
		}
		// 秒的计时
		if (sec==0 || sec<0) {
			sec=59;
		}else{
			sec--;
		}
		$("#taobao-rushshop-second").text(sec);
	}
}